package com.lianwei.hospital.mapper;

import java.util.List;

public interface GoodMapper<E,V,D> {
    int deleteByPrimaryKey(String id) throws Exception;
    int insert(E row) throws Exception;
    E selectByPrimaryKey(String id) throws Exception;
    E findByUsername(String username);
    List<E> selectAll() throws Exception;
    int updateByPrimaryKey(E row) throws Exception;
    List<E> selectListBySelectActive(V query) throws Exception;
    int countBySelectActive(V query) throws Exception;
}
